from django.conf.urls import patterns, url
from app.luca_customer import views

urlpatterns = patterns('',
    url(r'^new/$', views.customer_new, name='customer_new'),
    url(r'^edit/(?P<customer_id>\d+)/$', views.customer_edit, name='customer_edit'),
    url(r'^$', views.customer_list, name='customer_list'),
    url(r'^list/$', views.customer_list, name='customer_list'),
    url(r'^process_new/$', views.process_new, name='process_new'),
    url(r'^process_edit/(?P<customer_id>\d+)/$', views.process_edit, name='process_edit'),
    url(r'^process_delete/(?P<customer_id>\d+)/$', views.process_delete, name='process_delete'),
    url(r'^list_json/$', views.customer_list_json, name='customer_list_json'),
)